package org.yuanqiframework.yuanqi.boot.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.yuanqiframework.yuanqi.boot.sys.entity.SysMenu;
import org.yuanqiframework.yuanqi.boot.sys.vo.MenuVO;
import org.yuanqiframework.yuanqi.boot.sys.vo.PageMenuVO;

import java.util.List;
import java.util.Set;

/**
 * @author cbt28
 * @description 针对表【sys_menu(菜单权限表)】的数据库操作Service
 * @createDate 2025-08-18 22:29:33
 */
public interface SysMenuService extends IService<SysMenu> {

    List<MenuVO> selectMenuList();

    List<PageMenuVO> roleMenu();

    List<PageMenuVO> roleMenu(Set<String> roles);

    int safeDeleteById(Long id);
}
